package bairui.international.console.web.controller.personnel;

import com.lianjing.sh.spring.web.controller.enhance.tab.TabContext;

import bairui.international.console.web.controller.personnel.department.C_Personnel_Department_TreeAccess;
import bairui.international.console.web.controller.personnel.employee.C_Personnel_Employee_PageAccess;
import bairui.international.console.web.controller.personnel.position.C_Personnel_Position_TreeAccess;

public class Tab_Personnel {

	public static void tab(TabContext tabContext){
		tabContext
			.add(new C_Personnel_Department_TreeAccess.TreeAccess.Operate(){
				@Override public String comment() {
					return "部门管理";
				}
				@Override public Object getParentId() {
					return null;
				}
			})
			.add(new C_Personnel_Position_TreeAccess.TreeAccess.Operate(){
				@Override public String comment() {
					return "职位管理";
				}
				@Override public Object getParentId() {
					return null;
				}
			})
			.add(new C_Personnel_Employee_PageAccess.PageAccess.Operate(){
				@Override public String comment() {
					return "员工管理";
				}
			});
	}
	
}
